﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MyPostFrame.aspx.cs" Inherits="ExpertMIS.Workships.MyPostFrame" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>问题列表</title>
    <style type="text/css">
        a
        {
            color: black;
            text-decoration: none;
        }
        a:hover
        {
            color: black;
            text-decoration: underline;
        }
        .div-result
        {
            min-height: 560px;
            vertical-align: top;
            text-align: left;
        }
        .header-td
        {
            background-color: #eaf4fd;
            height: 28px;
            text-align: center;
            font-weight: bold;
            font-size: 14px;
            font-family: 宋体;
        }
        .data-td
        {
            height: 28px;
            text-align: center;
            font-size: 14px;
            font-family: 宋体;
        }
        .tb-paging td
        {
            width: 65px;
            text-align: center;
            vertical-align: middle;
            font-size: 12px;
        }
    </style>
</head>
<body>
    <form runat="server" id="from1">
    <asp:Repeater runat="server" ID="repResult" OnItemDataBound="repResult_ItemDataBound">
        <HeaderTemplate>
            <div class="div-result">
                <table border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="header-td" style="width: 412px;">
                            标 题
                        </td>
                        <td class="header-td" style="width: 74px;">
                            状态
                        </td>
                        <td class="header-td" style="width: 72px;">
                            答案
                        </td>
                        <td class="header-td" style="width: 66px;">
                            回答数
                        </td>
                        <td class="header-td" style="width: 100px;">
                            发布时间
                        </td>
                    </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td class="data-td" style="width: 412px; text-align: left;">
                    <asp:Label runat="server" ID="lblQTitle"></asp:Label>
                </td>
                <td class="data-td" style="width: 74px;">
                    <asp:Label runat="server" ID="lblQStatus" Font-Size="12px" Style="border: #92b98c 1px solid;
                        color: #92b98c; height: 16px;"></asp:Label>
                </td>
                <td class="data-td" style="width: 72px;">
                    <asp:Label runat="server" ID="lblAStatus" Font-Size="12px" Style="border: #87a8d3 1px solid;
                        color: #87a8d3; height: 16px;"></asp:Label>
                </td>
                <td class="data-td" style="width: 66px;">
                    <asp:Label runat="server" ID="lblACount" Font-Size="12px"></asp:Label>
                </td>
                <td class="data-td" style="width: 100px;">
                    <asp:Label runat="server" ID="lblPubDate" Font-Size="12px"></asp:Label>
                </td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            </table> </div>
        </FooterTemplate>
    </asp:Repeater>
    <div style="height: 30px; text-align: center;">
        <table border="0" cellpadding="0" cellspacing="0" class="tb-paging">
            <tr>
                <td>
                    <a href="?filter=<% Response.Write(Request["filter"]); %>&start=1">【首 页】</a>
                </td>
                <td>
                    <a href="?filter=<% Response.Write(Request["filter"]); %>&start=<%= GetPriorPageIndex() %>">【上一页】</a>
                </td>
                <td>
                    <a href="?filter=<% Response.Write(Request["filter"]); %>&start=<%= GetNextPageIndex() %>">【下一页】</a>
                </td>
                <td>
                    <a href="?filter=<% Response.Write(Request["filter"]); %>&start=<%= GetLastPageIndex() %>">【尾 页】</a>
                </td>
                <td>
                    【页次
                    <%= GetPageIndex() %>】
                </td>
                <td>
                    【共
                    <%= GetRecordCount() %>
                    条】
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
